package com.wxs.common.bean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.wxs.common.pojo.Resource;
import com.wxs.common.pojo.Role;
import com.wxs.common.pojo.User;

public class UserLoginInfoBean {
	public static String userSessionName = "admin_login_session_name";
	private User user;

	private List<Resource> resList;
	private Map<String, Resource> resMap = new HashMap<String, Resource>();

	private List<Role> roleList;
	private Map<String, Role> roleMap = new HashMap<String, Role>();

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public List<Resource> getResList() {
		return resList;
	}

	public void setResList(List<Resource> resList) {
		this.resList = resList;
	}

	public List<Role> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<Role> roleList) {
		this.roleList = roleList;
	}

	public Map<String, Resource> getResMap() {
		return resMap;
	}

	public void setResMap(Map<String, Resource> resMap) {
		this.resMap = resMap;
	}

	public Map<String, Role> getRoleMap() {
		return roleMap;
	}

	public void setRoleMap(Map<String, Role> roleMap) {
		this.roleMap = roleMap;
	}

}
